package com.wisdytech.linkdcs.linkdcsservicepad.pad.service;

import com.wisdytech.app.quality.vo.EquipmentVO;
import com.wisdytech.app.quality.vo.ManufactureVO;
import com.wisdytech.app.quality.vo.OperationVO;
import com.wisdytech.app.quality.vo.SysUserVO;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.pad.model.Issue;
import com.wisdytech.linkdcs.pad.model.IssueAttachment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenbin
 * @since 2018-08-15
 */
public interface IssueService{

    List<Issue> getIssueRecord(Filter filter);

    List<Issue> getIssueRecord(String issueStatus, Filter filter);

    void saveIssueRecord(Issue issue, IssueAttachment issueAttachment, String username);

    void analyseIssue(Issue issue, String username);

    void reviewIssue(Issue issue, String username);

    void decideIssue(Issue issue, String username);

    void solveIssue(Issue issue, String username);

    void confirmIssue(Issue issue, String username);

    void closeIssue(String issueId, String username);

    ManufactureVO getManufactureByCode(String manufactureCode);

    List<OperationVO> getOperationBylineId(String lineId);

    List<EquipmentVO> getEquipByLineIdAndOpId(String lineId, String opId);

    List<SysUserVO> getUser();
}
